package com.zdp.chat.common;

public class CommonConstant {

    /**
     * 房间-用户活跃度缓存key
     */
    public static final String ROOM_USER_KEY = "chat:room:user:%s";

    /**
     * 用户-房间活跃度缓存key
     */
    public static final String USER_ROOM_KEY = "chat:user:room:%s";

    /**
     * 房间缓存key(最后一条消息)
     */
    public static final String ROOM_INFO_KEY = "chat:room:info:%s";

    /**
     * 更新房间最新消息的缓存key
     */
    public static final String SEND_ROOM_MESSAGE_LOCK_KEY = "chat:send:room:message:lock:%s";
}
